package nc.ui.acm.flu.billrefflu;

import nc.ui.acm.pub.bill.manage.ACMBillManageUI;
import nc.ui.pub.FramePanel;
import nc.ui.pub.bill.BillEditEvent;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.manage.ManageEventHandler;
import nc.vo.acm.flu.billrefflu.BillRefFluGetCHK;
import nc.vo.acm.pub.ShowFluBtnVO;
import nc.vo.trade.button.ButtonVO;

public class BillRefFluUI extends ACMBillManageUI {

	public BillRefFluUI() {
		
	}

	public BillRefFluUI(FramePanel fp) {
		super(fp);
	}

	public BillRefFluUI(Boolean useBillSource) {
		super(useBillSource);
	}

	public BillRefFluUI(String pkCorp, String pkBillType, String pkBusitype,
			String operater, String billId) {
		super(pkCorp, pkBillType, pkBusitype, operater, billId);
	}
	
	@Override
	protected AbstractManageController createController() {
		return new BillRefFluCtrl();
	}
	
	@Override
	protected ManageEventHandler createEventHandler() {
		return new BillRefFluEH(this, getUIControl());
	}
	
	@Override
	protected void initSelfData() {
		super.initSelfData();
	}
	
	@Override
	public void setDefaultData() throws Exception {
		super.setDefaultData();
	}
	
	@Override
	public void afterEdit(BillEditEvent e) {
		super.afterEdit(e);
	}
	
	@Override
	protected void initPrivateButton() {
		super.initPrivateButton();
		ButtonVO showflu = new ShowFluBtnVO().getButtonVO();
		addPrivateButton(showflu);
	}
	
	@Override
	public Object getUserObject() {
		return new BillRefFluGetCHK();
	}

}
